* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* 头部样式 */
.header {
    background: white;
    padding: 20px 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header h1 {
    color: #2c3e50;
    font-size: 2em;
    margin: 0;
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.date-selector {
    display: flex;
    align-items: center;
    gap: 10px;
}

.date-selector input {
    padding: 8px 12px;
    border: 2px solid #ecf0f1;
    border-radius: 6px;
    font-size: 14px;
}

/* 日期导航按钮样式 */
.date-nav-btn {
    padding: 6px 12px !important;
    font-size: 12px !important;
    min-width: 70px;
    white-space: nowrap;
}

.date-nav-btn:hover {
    background: #2980b9 !important;
    transform: translateY(-1px);
}

.btn-secondary, .btn-print {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-secondary {
    background: #3498db;
    color: white;
}

.btn-secondary:hover {
    background: #2980b9;
}

.btn-print {
    background: #27ae60;
    color: white;
}

.btn-print:hover {
    background: #229954;
}

.btn-danger {
    background: #e74c3c;
    color: white;
}

.btn-danger:hover {
    background: #c0392b;
}

/* 三栏布局 */
.main-content {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 20px;
    min-height: 600px;
}

/* 面板通用样式 */
.left-panel, .center-panel, .right-panel {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

/* 面板头部 */
.panel-header {
    background: #34495e;
    color: white;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.panel-header h2 {
    margin: 0 0 8px 0;
    font-size: 1.3em;
}

.panel-description {
    margin: 0;
    font-size: 0.8em;
    opacity: 0.85;
    font-style: italic;
}

.panel-header h4 {
    margin: 0;
    font-size: 1.1em;
}

.date-display {
    font-size: 0.9em;
    opacity: 0.9;
}

/* 左侧面板 - 今日任务 */
.left-panel {
    display: flex;
    flex-direction: column;
}

.today-stats {
    padding: 15px 20px;
    background: #ecf0f1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.85em;
}

.today-stats span {
    background: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 500;
}

/* 中间面板 - 任务管理 */
.center-panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
}

.task-form {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.task-form h2 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.2em;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 15px;
    align-items: end;
}

.assignee-input-container {
    position: relative;
}

.assignee-selector {
    width: 100%;
}

.assignee-selector label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #2c3e50;
}

.selected-assignees {
    border: 2px solid #ecf0f1;
    border-radius: 6px;
    min-height: 40px;
    padding: 8px 12px;
    margin-bottom: 10px;
    background: white;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    cursor: pointer;
    transition: border-color 0.3s;
}

.selected-assignees:hover {
    border-color: #3498db;
}

.selected-assignees.focus {
    border-color: #3498db;
}

.selected-assignees .placeholder {
    color: #95a5a6;
    font-style: italic;
}

.assignee-tag {
    background: #3498db;
    color: white;
    padding: 4px 8px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

.assignee-tag .remove-tag {
    background: rgba(255,255,255,0.3);
    border: none;
    color: white;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.assignee-tag .remove-tag:hover {
    background: rgba(255,255,255,0.5);
}

.select-btn {
    background: #27ae60;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    transition: background-color 0.3s;
    flex: 0 0 auto; /* 防止按钮被拉伸 */
    white-space: nowrap;
    display: inline-block !important;
    width: auto !important;
}

.select-btn:hover {
    background: #229954;
}

/* 人员选择和提交按钮容器 */
.assignee-and-submit-container {
    display: flex !important;
    flex-direction: row !important; /* 强制水平排列 */
    gap: 12px;
    align-items: center;
    justify-content: flex-start;
    width: auto;
    flex-wrap: nowrap !important; /* 防止换行 */
    position: relative;
    z-index: 1;
}

/* 确保容器内的按钮不被其他规则影响 */
.assignee-and-submit-container > * {
    display: inline-block !important;
    width: auto !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
}

/* 包含按钮容器的form-group特殊处理 - 移除不必要的规则 */

/* 确保按钮容器内的元素水平排列 */
.assignee-and-submit-container .select-btn,
.assignee-and-submit-container .submit-btn {
    display: inline-block !important;
    width: auto !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
    vertical-align: top;
    float: none !important;
    clear: none !important;
}

/* 提交按钮样式 */
.submit-btn {
    background: #e67e22;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: 80px;
    flex: 0 0 auto; /* 防止按钮被拉伸 */
    display: inline-block !important;
    width: auto !important;
}

.submit-btn:hover {
    background: #d35400;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* 人员选择模态框样式 */
.assignee-modal-content {
    padding-top: 20px;
}

/* 桌面端确保按钮并排显示 */
@media (min-width: 769px) {
    .assignee-and-submit-container {
        flex-direction: row !important;
    }

    .assignee-and-submit-container .select-btn,
    .assignee-and-submit-container .submit-btn {
        width: auto !important;
        flex: 0 0 auto;
        display: inline-block !important;
    }
}

/* 针对所有屏幕尺寸强制按钮样式 */
.form-group .assignee-and-submit-container button,
.assignee-and-submit-container button {
    width: auto !important;
    display: inline-block !important;
    flex: 0 0 auto !important;
}

.assignee-search {
    margin-bottom: 20px;
}

.assignee-search input {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid #ecf0f1;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.assignee-search input:focus {
    outline: none;
    border-color: #3498db;
}

.assignee-list {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #ecf0f1;
    border-radius: 6px;
    margin-bottom: 20px;
}

.assignee-item {
    padding: 12px 15px;
    border-bottom: 1px solid #ecf0f1;
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.assignee-item:last-child {
    border-bottom: none;
}

.assignee-item:hover {
    background: #f8f9fa;
}

.assignee-item.selected {
    background: #e3f2fd;
    border-left: 4px solid #3498db;
}

.assignee-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.assignee-info {
    flex: 1;
}

.assignee-name {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 2px;
}

.assignee-details {
    font-size: 12px;
    color: #7f8c8d;
}

.assignee-role-badge {
    background: #3498db;
    color: white;
    padding: 2px 6px;
    border-radius: 10px;
    margin-right: 4px;
}

.assignee-dept-badge {
    background: #16a085;
    color: white;
    padding: 2px 6px;
    border-radius: 10px;
}

.modal-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.btn-primary {
    background: #3498db;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background: #2980b9;
}

.btn-secondary {
    background: #95a5a6;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-secondary:hover {
    background: #7f8c8d;
}

.no-assignees {
    text-align: center;
    padding: 20px;
    color: #95a5a6;
    font-style: italic;
}

.form-group {
    margin-bottom: 15px;
}

/* 包含按钮容器的form-group需要支持flex子元素 - 使用兼容性更好的方法 */
.form-row .form-group:last-child {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 2px solid #ecf0f1;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #3498db;
}

.category-input-container {
    position: relative;
}

.category-input-container input {
    width: 100%;
    padding: 10px;
    border: 2px solid #ecf0f1;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.category-input-container input:focus {
    outline: none;
    border-color: #3498db;
}

button {
    background: #3498db;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background: #2980b9;
}

/* 任务控制区 */
.task-controls {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.search-bar {
    margin-bottom: 15px;
}

.search-bar input {
    width: 100%;
    padding: 10px;
    border: 2px solid #ecf0f1;
    border-radius: 6px;
    font-size: 14px;
}

.filter-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.filter-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-btn {
    background: #ecf0f1;
    color: #333;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
}

.filter-btn.active {
    background: #3498db;
    color: white;
}

.category-filter select,
.assignee-filter select {
    padding: 6px 12px;
    border: 2px solid #ecf0f1;
    border-radius: 6px;
    font-size: 12px;
    background: white;
    cursor: pointer;
}

.category-filter select:focus,
.assignee-filter select:focus {
    outline: none;
    border-color: #3498db;
}

/* 所有任务区域 */
.all-tasks h3 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.stats {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.stats span {
    background: #ecf0f1;
    padding: 6px 12px;
    border-radius: 15px;
    font-weight: 500;
    font-size: 0.85em;
}

/* 右侧面板 - 完成情况 */
.right-panel {
    display: flex;
    flex-direction: column;
}

.completion-summary {
    padding: 20px;
    text-align: center;
    background: #f8f9fa;
}

.completion-rate {
    margin-bottom: 20px;
}

.rate-circle {
    width: 80px;
    height: 80px;
    border: 4px solid #3498db;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 1.2em;
    font-weight: bold;
    color: #3498db;
}

.completion-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px solid #eee;
}

.label {
    font-weight: 500;
}

.yesterday-tasks {
    flex: 1;
    padding: 20px;
}

.yesterday-tasks h4 {
    color: #2c3e50;
    margin-bottom: 15px;
}

/* 任务容器 */
.tasks-container {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.task-item {
    border: 2px solid #ecf0f1;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 12px;
    transition: all 0.3s;
    background: white;
}

.task-item:hover {
    border-color: #3498db;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.task-item.completed {
    background: #f8f9fa;
    opacity: 0.8;
    border-color: #27ae60;
}

.task-item.completed .task-title {
    text-decoration: line-through;
    color: #95a5a6;
}

.task-item.completed:hover {
    border-color: #27ae60;
}

.task-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.task-title {
    font-size: 1em;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.task-meta {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.task-status,
.task-priority,
.task-category,
.task-assignee {
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 0.7em;
    font-weight: 500;
}

.task-assignee {
    background: #8e44ad;
    color: white;
}

.task-status.pending {
    background: #f39c12;
    color: white;
}

.task-status.in-progress {
    background: #3498db;
    color: white;
}

.task-status.completed {
    background: #27ae60;
    color: white;
}

.task-priority.high {
    background: #e74c3c;
    color: white;
}

.task-priority.medium {
    background: #f39c12;
    color: white;
}

.task-priority.low {
    background: #95a5a6;
    color: white;
}

.task-category.general {
    background: #9b59b6;
    color: white;
}

.task-category.work {
    background: #34495e;
    color: white;
}

.task-category.personal {
    background: #16a085;
    color: white;
}

.task-category.study {
    background: #2980b9;
    color: white;
}

.task-category.health {
    background: #27ae60;
    color: white;
}

.task-category.shopping {
    background: #f39c12;
    color: white;
}

.task-category.finance {
    background: #c0392b;
    color: white;
}

.task-category.travel {
    background: #8e44ad;
    color: white;
}

.task-category.custom-0 {
    background: #e67e22;
    color: white;
}

.task-category.custom-1 {
    background: #3498db;
    color: white;
}

.task-category.custom-2 {
    background: #2ecc71;
    color: white;
}

.task-category.custom-3 {
    background: #f39c12;
    color: white;
}

.task-category.custom-4 {
    background: #9b59b6;
    color: white;
}

.task-category.custom-5 {
    background: #1abc9c;
    color: white;
}

.task-category.custom-6 {
    background: #34495e;
    color: white;
}

.task-category.custom-7 {
    background: #e74c3c;
    color: white;
}

.task-description {
    margin: 8px 0;
    color: #7f8c8d;
    line-height: 1.4;
    font-size: 0.9em;
}

.task-actions {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.task-actions button {
    font-size: 11px;
    padding: 4px 8px;
}

.btn-edit {
    background: #f39c12;
}

.btn-edit:hover {
    background: #e67e22;
}

.btn-delete {
    background: #e74c3c;
}

.btn-delete:hover {
    background: #c0392b;
}

.btn-notes {
    background: #9b59b6;
}

.btn-notes:hover {
    background: #8e44ad;
}

.btn-complete {
    background: #27ae60;
    order: -1; /* 让完成按钮排在最前面 */
}

.btn-complete:hover {
    background: #229954;
}

.btn-completed {
    background: #95a5a6;
    cursor: not-allowed;
    opacity: 0.7;
    order: -1; /* 让已完成按钮排在最前面 */
}

.btn-start {
    background: #3498db;
    order: -1;
}

.btn-start:hover {
    background: #2980b9;
}

.btn-pause {
    background: #f39c12;
    order: -1;
}

.btn-pause:hover {
    background: #e67e22;
}

.btn-resume {
    background: #16a085;
    order: -1;
}

.btn-resume:hover {
    background: #138d75;
}

.task-timer {
    display: inline-block;
    background: #3498db;
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.8em;
    font-weight: 600;
    margin-left: 8px;
    font-family: 'Courier New', monospace;
}

.task-timer.running {
    background: #e74c3c;
    animation: timer-pulse 1s infinite;
}

@keyframes timer-pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.task-notes-indicator {
    background: #9b59b6;
    color: white;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 0.7em;
    font-weight: 500;
    margin-left: 6px;
}

.task-dates {
    font-size: 0.75em;
    color: #95a5a6;
    margin-top: 8px;
}

.no-tasks {
    text-align: center;
    color: #95a5a6;
    font-size: 0.9em;
    padding: 30px;
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 20px;
}

.close:hover {
    color: black;
}

.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.form-actions button {
    flex: 1;
}

#cancel-edit {
    background: #95a5a6;
}

#cancel-edit:hover {
    background: #7f8c8d;
}

/* 备注模态框样式 */
.notes-modal-content {
    width: 95%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
}

.add-note-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #ecf0f1;
}

.add-note-section h3,
.notes-list-section h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.notes-list-section {
    max-height: 300px;
    overflow-y: auto;
}

.note-item {
    background: #f8f9fa;
    border: 1px solid #ecf0f1;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 12px;
    transition: all 0.3s;
}

.note-item:hover {
    border-color: #3498db;
    transform: translateY(-1px);
}

.note-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.note-timestamp {
    font-size: 0.8em;
    color: #95a5a6;
    white-space: nowrap;
}

.note-content {
    color: #2c3e50;
    line-height: 1.4;
    margin-bottom: 10px;
    word-wrap: break-word;
}

.note-actions {
    display: flex;
    gap: 8px;
}

.note-actions button {
    font-size: 11px;
    padding: 4px 8px;
}

.btn-edit-note {
    background: #f39c12;
}

.btn-edit-note:hover {
    background: #e67e22;
}

.btn-delete-note {
    background: #e74c3c;
}

.btn-delete-note:hover {
    background: #c0392b;
}

.no-notes {
    text-align: center;
    color: #95a5a6;
    font-style: italic;
    padding: 20px;
}

/* 任务图片相关样式 */
.btn-images {
    background: #9b59b6;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 11px;
    cursor: pointer;
    transition: background-color 0.3s;
    position: relative;
}

.btn-images:hover {
    background: #8e44ad;
}

.btn-images.has-images {
    background: #8e44ad;
}

/* 按钮角标样式 */
.btn-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 10px;
    line-height: 18px;
    text-align: center;
    font-weight: bold;
    border: 2px solid white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.task-images-indicator {
    background: #9b59b6;
    color: white;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 0.7em;
    font-weight: 500;
    margin-left: 6px;
}

/* 图片管理模态框样式 */
.images-modal-content {
    width: 95%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
}

.upload-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #ecf0f1;
}

.upload-section h3,
.images-gallery-section h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.upload-area {
    text-align: center;
    padding: 20px;
    border: 2px dashed #bdc3c7;
    border-radius: 8px;
    background: #f8f9fa;
    transition: all 0.3s;
}

.upload-area:hover {
    border-color: #3498db;
    background: #ecf0f1;
}

.btn-upload {
    background: #3498db;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-bottom: 10px;
}

.btn-upload:hover {
    background: #2980b9;
}

.btn-upload span {
    margin-right: 8px;
    font-size: 16px;
}

.upload-info {
    color: #7f8c8d;
    font-size: 12px;
}

/* 图片画廊样式 */
.images-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    min-height: 200px;
}

.image-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s;
    cursor: pointer;
}

.image-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.image-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
}

.image-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.image-item:hover .image-item-overlay {
    opacity: 1;
}

.image-item-overlay span {
    color: white;
    font-size: 24px;
}

.no-images {
    grid-column: 1 / -1;
    text-align: center;
    color: #95a5a6;
    font-style: italic;
    padding: 40px 20px;
}

/* 图片预览模态框样式 */
.image-preview-content {
    width: 90%;
    max-width: 900px;
    padding: 20px;
    margin: 5% auto;
    background-color: white;
    border-radius: 10px;
    position: relative;
}

.image-preview-container {
    text-align: center;
}

.image-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.nav-btn {
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
    background: rgba(0,0,0,0.8);
    transform: scale(1.1);
}

.nav-btn:disabled {
    background: rgba(0,0,0,0.2);
    cursor: not-allowed;
    transform: none;
}

.image-wrapper {
    flex: 1;
    max-width: 700px;
    position: relative;
}

.image-wrapper img {
    max-width: 100%;
    max-height: 60vh;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.image-info {
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
}

#image-counter {
    background: #3498db;
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
}

#image-name {
    color: #2c3e50;
    font-size: 14px;
    font-weight: 500;
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.image-preview-actions {
    margin-top: 20px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.image-preview-actions button {
    margin: 0 auto;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .images-gallery {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 10px;
    }

    .image-item img {
        height: 100px;
    }

    .images-modal-content {
        width: 95%;
        margin: 5% auto;
    }

    .image-preview-content {
        width: 95%;
        margin: 3% auto;
        padding: 15px;
    }

    .image-preview-actions {
        flex-direction: column;
        gap: 10px;
    }

    .image-preview-actions button {
        width: 100%;
        max-width: 200px;
    }
}
@media (max-width: 1200px) {
    .main-content {
        grid-template-columns: 1fr 1.5fr 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .header h1 {
        font-size: 1.5em;
    }
    
    .main-content {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .form-row .form-group:last-child {
        justify-self: center;
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    /* 移动端按钮容器样式 - 保持水平布局 */
    .assignee-and-submit-container {
        flex-direction: row !important;
        gap: 10px;
        flex-wrap: nowrap !important;
        display: flex !important;
    }

    .submit-btn {
        width: auto !important;
        padding: 12px 20px;
        font-size: 14px;
    }

    .select-btn {
        width: auto !important;
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .filter-section {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .task-header {
        flex-direction: column;
        gap: 8px;
    }
    
    .task-actions {
        justify-content: center;
    }
    
    .filter-buttons {
        justify-content: center;
    }
}

/* 打印样式优化 */
@media print {
    .container { 
        max-width: none; 
        padding: 20px; 
    }
    
    .header, .center-panel, .right-panel { 
        display: none !important; 
    }
    
    .left-panel { 
        width: 100% !important; 
        max-width: none !important;
        box-shadow: none;
    }
    
    .main-content { 
        grid-template-columns: 1fr !important; 
    }
    
    .panel-header h2 { 
        font-size: 24px; 
        margin-bottom: 20px; 
    }
    
    .task-item { 
        page-break-inside: avoid; 
        margin-bottom: 15px; 
        border: 1px solid #ccc;
        box-shadow: none;
    }
    
    .task-actions { 
        display: none !important; 
    }
    
    .today-stats {
        background: none !important;
        border: 1px solid #ccc;
    }
    
    @page { 
        margin: 1cm; 
    }
}

/* 人员选择相关样式 */
.assignee-input-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.assignee-input-container label {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9em;
}

.assignee-selector {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.selected-assignees {
    min-height: 40px;
    padding: 8px 12px;
    border: 2px solid #ecf0f1;
    border-radius: 6px;
    background: white;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.selected-assignees .placeholder {
    color: #95a5a6;
    font-style: italic;
}

.selected-assignee {
    background: #3498db;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.85em;
    white-space: nowrap;
}

.select-btn {
    padding: 8px 16px;
    background: #27ae60;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9em;
    transition: background-color 0.3s;
}

.select-btn:hover {
    background: #229954;
}

.select-btn.has-selection {
    background: #3498db;
    color: white;
}

.select-btn.has-selection:hover {
    background: #2980b9;
}

/* 人员选择模态框 */
.assignee-modal-content {
    padding: 20px;
}

.assignee-search {
    margin-bottom: 20px;
}

.assignee-search input {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #ecf0f1;
    border-radius: 6px;
    font-size: 14px;
}

.assignee-search input:focus {
    outline: none;
    border-color: #3498db;
}

.assignee-list {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 20px;
    border: 1px solid #ecf0f1;
    border-radius: 6px;
}

.assignee-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #ecf0f1;
    cursor: pointer;
    transition: background-color 0.3s;
}

.assignee-item:last-child {
    border-bottom: none;
}

.assignee-item:hover {
    background: #f8f9fa;
}

.assignee-item.selected {
    background: #e3f2fd;
}

.assignee-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.assignee-name {
    font-weight: 600;
    color: #2c3e50;
}

.assignee-details {
    display: flex;
    gap: 12px;
    font-size: 0.85em;
}

.assignee-role {
    color: #3498db;
    background: #e3f2fd;
    padding: 2px 6px;
    border-radius: 3px;
}

.assignee-department {
    color: #27ae60;
    background: #e8f5e8;
    padding: 2px 6px;
    border-radius: 3px;
}

.assignee-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 15px;
    border-top: 1px solid #ecf0f1;
}

.btn-primary {
    background: #3498db;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background: #2980b9;
}

.no-personnel {
    text-align: center;
    color: #95a5a6;
    font-style: italic;
    padding: 40px 20px;
}

/* 任务显示中的人员样式 */
.task-assignees {
    background: #27ae60;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: 500;
}

/* 人员数量标签样式 */
.personnel-count {
    color: white;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 0.75em;
    font-weight: 600;
    margin-left: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 18px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* 不同人员数量的颜色主题 */
.personnel-count.count-single {
    background: #2ecc71;
    box-shadow: 0 1px 3px rgba(46, 204, 113, 0.3);
}

.personnel-count.count-small {
    background: #f39c12;
    box-shadow: 0 1px 3px rgba(243, 156, 18, 0.3);
}

.personnel-count.count-medium {
    background: #e67e22;
    box-shadow: 0 1px 3px rgba(230, 126, 34, 0.3);
}

.personnel-count.count-large {
    background: #e74c3c;
    box-shadow: 0 1px 3px rgba(231, 76, 60, 0.3);
    animation: pulse 2s infinite;
}

/* 大团队数量的脉冲动画 */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* 任务完成确认弹窗样式 */
.complete-confirm-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.complete-confirm-content {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    margin: 0;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 450px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: slideIn 0.3s ease;
    overflow: hidden;
}

.complete-confirm-header {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 25px 30px;
    text-align: center;
    position: relative;
}

.complete-confirm-header::before {
    content: '✅';
    font-size: 3em;
    display: block;
    margin-bottom: 10px;
    animation: bounce 0.6s ease-in-out infinite alternate;
}

.complete-confirm-header h3 {
    margin: 0;
    font-size: 1.4em;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.complete-confirm-body {
    padding: 30px;
    text-align: center;
}

.complete-confirm-message {
    font-size: 1.1em;
    color: #2c3e50;
    line-height: 1.6;
    margin-bottom: 10px;
}

.complete-confirm-task {
    font-weight: bold;
    color: #3498db;
    font-size: 1.2em;
    margin: 15px 0;
    padding: 10px;
    background: rgba(52, 152, 219, 0.1);
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.complete-confirm-actions {
    padding: 0 30px 30px;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.complete-confirm-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
    position: relative;
    overflow: hidden;
}

.complete-confirm-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.complete-confirm-btn:hover::before {
    left: 100%;
}

.btn-confirm-complete {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.4);
}

.btn-confirm-complete:hover {
    background: linear-gradient(135deg, #229954, #27ae60);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.6);
}

.btn-cancel-complete {
    background: linear-gradient(135deg, #95a5a6, #7f8c8d);
    color: white;
    box-shadow: 0 4px 15px rgba(149, 165, 166, 0.4);
}

.btn-cancel-complete:hover {
    background: linear-gradient(135deg, #7f8c8d, #6c7b7d);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(149, 165, 166, 0.6);
}

/* 任务完成成功弹窗样式 */
.complete-success-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.complete-success-content {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    margin: 0;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 450px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: slideIn 0.3s ease;
    overflow: hidden;
}

.complete-success-header {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    padding: 25px 30px;
    text-align: center;
    position: relative;
}

.complete-success-header::before {
    content: '🎉';
    font-size: 3em;
    display: block;
    margin-bottom: 10px;
    animation: bounce 0.6s ease-in-out infinite alternate;
}

.complete-success-header h3 {
    margin: 0;
    font-size: 1.4em;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.complete-success-body {
    padding: 30px;
    text-align: center;
}

.complete-success-message-text {
    font-size: 1.1em;
    color: #2c3e50;
    line-height: 1.6;
    margin-bottom: 10px;
}

.complete-success-actions {
    padding: 0 30px 30px;
    display: flex;
    justify-content: center;
}

.complete-success-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
    position: relative;
    overflow: hidden;
}

.complete-success-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.complete-success-btn:hover::before {
    left: 100%;
}

.btn-complete-success-ok {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.4);
}

.btn-complete-success-ok:hover {
    background: linear-gradient(135deg, #229954, #27ae60);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.6);
}

/* 弹窗动画效果 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

@keyframes bounce {
    from { transform: translateY(0); }
    to { transform: translateY(-5px); }
}

/* 响应式设计 */
@media (max-width: 480px) {
    .complete-confirm-content,
    .complete-success-content {
        width: 95%;
        margin: 20px auto;
    }

    .complete-confirm-header,
    .complete-confirm-body,
    .complete-success-header,
    .complete-success-body {
        padding: 20px;
    }

    .complete-confirm-actions,
    .complete-success-actions {
        padding: 0 20px 20px;
        flex-direction: column;
    }

    .complete-confirm-btn,
    .complete-success-btn {
        width: 100%;
    }
}

/* 类别选择弹窗样式 */
.category-modal-content {
    max-height: 600px;
    display: flex;
    flex-direction: column;
}

.category-search {
    margin-bottom: 15px;
}

.category-search input {
    width: 100%;
    padding: 10px;
    border: 2px solid #ecf0f1;
    border-radius: 6px;
    font-size: 14px;
}

.category-tree {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 15px;
    border: 1px solid #ecf0f1;
    border-radius: 6px;
    padding: 10px;
    max-height: 400px;
}

/* 2列布局样式 */
.category-modal-layout {
    width: 90% !important;
    max-width: 950px !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15) !important;
    overflow: hidden;
}

.category-modal-layout h2 {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    padding: 20px;
    margin: -20px -20px 20px -20px;
    font-size: 18px;
    font-weight: 600;
}

.category-modal-content {
    margin-top: 0;
}

.category-search {
    margin-bottom: 20px;
}

.category-search input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #ecf0f1;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.category-search input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.category-layout {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    height: 480px;
}

.category-left-panel {
    width: 28%;
    display: flex;
    flex-direction: column;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: linear-gradient(180deg, #f8f9fa 0%, #f0f2f5 100%);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.category-right-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.category-level-title {
    padding: 14px 18px;
    font-weight: 700;
    font-size: 13px;
    color: #2c3e50;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #3498db;
    background: white;
}

.category-first-level {
    flex: 1;
    overflow-y: auto;
    padding: 8px 0;
}

.category-first-level .category-item {
    margin: 0;
}

.category-first-level .category-option {
    padding: 12px 16px;
    margin: 0;
    border-radius: 0;
    border-left: 4px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    color: #555;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.category-first-level .category-option:hover {
    background-color: #f0f8ff;
    border-left-color: #3498db;
    padding-left: 18px;
}

.category-first-level .category-option.selected {
    background: linear-gradient(90deg, #3498db 0%, #2980b9 100%);
    color: white;
    border-left-color: #2980b9;
    font-weight: 600;
}

.category-first-level .category-option.selected label {
    color: white;
    font-weight: 600;
}

.category-first-level .category-option input[type="radio"] {
    margin-right: 10px;
    cursor: pointer;
}

#category-tree-container {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
}

.category-item {
    margin: 6px 0;
}

.category-option {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.category-option:hover {
    background-color: #f5f5f5;
    border-color: #e8e8e8;
}

.category-option.selected {
    background-color: #e8f4f8;
    border-color: #3498db;
}

.category-option input[type="radio"] {
    margin-right: 10px;
    cursor: pointer;
    accent-color: #3498db;
}

.category-option label {
    flex: 1;
    cursor: pointer;
    user-select: none;
    font-size: 14px;
    color: #333;
}

/* 禁用状态的类别项样式 */
.category-option.has-children {
    opacity: 0.6;
    cursor: not-allowed;
}

.category-option.has-children:hover {
    background-color: transparent;
    cursor: not-allowed;
    border-color: transparent;
}

.category-option input[type="radio"]:disabled {
    cursor: not-allowed;
    opacity: 0.5;
    accent-color: #95a5a6;
}

.category-option .disabled-label {
    cursor: not-allowed;
    color: #95a5a6;
}

.no-categories {
    text-align: center;
    color: #95a5a6;
    padding: 20px;
    font-size: 14px;
}

/* 模态框按钮优化 */
.modal-actions {
    margin-top: 20px;
    text-align: right;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.btn-primary {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
    color: white;
    padding: 11px 28px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(39, 174, 96, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(39, 174, 96, 0.2);
}

.btn-secondary {
    background: #ecf0f1;
    color: #555;
    padding: 11px 28px;
    border: 1px solid #d5dbdb;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #d5dbdb;
    border-color: #bdc3c7;
    transform: translateY(-2px);
}

.btn-secondary:active {
    transform: translateY(0);
}

/* 类别输入容器样式 */
.category-select-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-btn {
    flex-shrink: 0;
}

.selected-category-display {
    flex: 1;
    padding: 8px 12px;
    background-color: #f5f5f5;
    border: 1px solid #ecf0f1;
    border-radius: 6px;
    font-size: 14px;
    color: #666;
}

/* 删除任务确认弹窗样式 */
.delete-confirm-modal {
    display: none;
    position: fixed;
    z-index: 1500;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.3s ease;
}

.delete-confirm-content {
    background-color: white;
    border-radius: 12px;
    width: 90%;
    max-width: 450px;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 10px 40px rgba(231, 76, 60, 0.3);
    overflow: hidden;
    animation: slideIn 0.3s ease;
}

.delete-confirm-header {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 20px 30px;
    font-size: 18px;
    font-weight: 600;
}

.delete-confirm-header h3 {
    margin: 0;
    font-size: 20px;
}

.delete-confirm-body {
    padding: 30px;
    text-align: center;
}

.delete-confirm-icon {
    font-size: 60px;
    margin-bottom: 20px;
    animation: bounce 0.6s ease infinite;
}

.delete-confirm-message {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 500;
}

.delete-confirm-task {
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 12px 15px;
    border-radius: 4px;
    margin: 15px 0;
    color: #856404;
    font-size: 14px;
    word-break: break-word;
    max-height: 100px;
    overflow-y: auto;
}

.delete-confirm-warning {
    font-size: 13px;
    color: #e74c3c;
    margin-top: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.delete-confirm-actions {
    display: flex;
    gap: 12px;
    padding: 20px 30px;
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.delete-confirm-btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 44px;
}

.btn-confirm-delete {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.btn-confirm-delete:hover {
    background: linear-gradient(135deg, #c0392b, #a93226);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.5);
}

.btn-confirm-delete:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(231, 76, 60, 0.3);
}

.btn-cancel-delete {
    background-color: #ecf0f1;
    color: #7f8c8d;
}

.btn-cancel-delete:hover {
    background-color: #d5dbdb;
    transform: translateY(-2px);
}

.btn-cancel-delete:active {
    transform: translateY(0);
}

/* 响应式 - 删除弹窗 */
@media (max-width: 480px) {
    .delete-confirm-content {
        width: 95%;
        max-width: none;
    }

    .delete-confirm-header {
        padding: 15px 20px;
    }

    .delete-confirm-header h3 {
        font-size: 18px;
    }

    .delete-confirm-body {
        padding: 20px;
    }

    .delete-confirm-icon {
        font-size: 48px;
    }

    .delete-confirm-actions {
        padding: 15px 20px;
        flex-direction: column;
        gap: 10px;
    }

    .delete-confirm-btn {
        width: 100%;
    }
}

